package com.v2.k5;


import com.v2.k2.Person;

/**
 * 测试类型转换  为了解决这种情况@Value("112")
 */
public class Test1 {

	public static void main(String[] args) {

		TestPropertyEditor testPropertyEditor = new TestPropertyEditor();
		testPropertyEditor.setAsText("11");
		Person person = (Person) testPropertyEditor.getValue();
		System.out.println(person);
	}

}
